<!DOCTYPE html>
<html>
  <head>
    <title>我发布的</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <link href="resources/css/jquery-ui-themes.css" type="text/css" rel="stylesheet"/>
    <link href="resources/css/axure_rp_page.css" type="text/css" rel="stylesheet"/>
    <link href="data/styles.css" type="text/css" rel="stylesheet"/>
    <link href="files/我发布的/styles.css" type="text/css" rel="stylesheet"/>
    <script src="resources/scripts/jquery-1.7.1.min.js"></script>
    <script src="resources/scripts/jquery-ui-1.8.10.custom.min.js"></script>
    <script src="resources/scripts/prototypePre.js"></script>
    <script src="data/document.js"></script>
    <script src="resources/scripts/prototypePost.js"></script>
    <script src="files/我发布的/data.js"></script>
    <script type="text/javascript">
      $axure.utils.getTransparentGifPath = function() { return 'resources/images/transparent.gif'; };
      $axure.utils.getOtherPath = function() { return 'resources/Other.html'; };
      $axure.utils.getReloadPath = function() { return 'resources/reload.html'; };
    </script>
  </head>
  <body>
    <div id="base" class="">

      <!-- Unnamed (矩形) -->
      <div id="u68" class="ax_default _一级标题">
        <div id="u68_div" class=""></div>
        <div id="u68_text" class="text ">
          <p><span>我发布的家教</span></p>
        </div>
      </div>

      <!-- Unnamed (水平线) -->
      <div id="u70" class="ax_default line">
        <img id="u70_img" class="img " src="images/我发布的/u70.png"/>
      </div>

      <!-- 全部家教内容 (动态面板) -->
      <div id="u71" class="ax_default" data-label="全部家教内容">
        <div id="u71_state0" class="panel_state" data-label="State1" style="margin-left: 70px;">
          <div id="u71_state0_content" class="panel_state_content">

            <!-- Unnamed (矩形) -->
            <div id="u72" class="ax_default label">
              <div id="u72_div" class=""></div>
              <div id="u72_text" class="text ">
                <?php require("../../../conn/conn.php");
                //读取配置文件id信息	
                $fp = fopen("../../../config/user_id.txt",'r');
                $id = fgets($fp);
                fclose($fp);
                
                $sql = "select * from work_info where par_id = $id";
                $result = mysqli_query($conn,$sql);
                
                $work_info = array();
                while($row = mysqli_fetch_assoc($result)){
                	$work_info[] = $row;
                }
                foreach($work_info as $row){ 
                	if($row['par_id']){?>
                	<a style=" text-decoration: none;" href="index.html"><div style="width: 800px;">
                		<p style="float: right;" style="font-size: 50px;"><?= $row['work_price']; ?>元/天</p>
                		<h1 align="left"><?=  $row['work_name']; ?></h1>
                		<p ><?= $row['work_place']; ?></p>	
                	</div></a>
                <?php }} ?>
              </div>
            </div>
          </div>
        </div>
      </div>

      <!-- 导航栏 (组 合) -->
      <div id="u73" class="ax_default" data-label="导航栏" data-left="0" data-top="1892" data-width="980" data-height="230">

        <!-- Unnamed (形状) -->
		<a href="./个人信息.php">
        <div id="u74" class="ax_default icon">
          <img id="u74_img" class="img " src="images/家长主页/u1.png"/>
        </div>
		</a>
        <!-- Unnamed (形状) -->
		<a href="./消息.php">
        <div id="u75" class="ax_default icon">
          <img id="u75_img" class="img " src="images/家长主页/u2.png"/>
        </div>
		</a>
        <!-- Unnamed (形状) -->
		<a href="./家长主页.php">
        <div id="u76" class="ax_default icon">
          <img id="u76_img" class="img " src="images/发布家教/u62.png"/>
        </div>
		</a>
        <!-- Unnamed (形状) -->
		<a href="./我发布的.php">
        <div id="u77" class="ax_default icon">
          <img id="u77_img" class="img " src="images/我发布的/u77.png"/>
        </div>
		</a>
        <!-- Unnamed (水平线) -->
        <div id="u78" class="ax_default line">
          <img id="u78_img" class="img " src="images/家长主页/u5.png"/>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u79" class="ax_default box_1">
          <div id="u79_div" class=""></div>
        </div>

        <!-- Unnamed (形状) -->
		<a href="./发布家教.php">
        <div id="u80" class="ax_default icon">
          <img id="u80_img" class="img " src="images/家长主页/u7.png"/>
        </div>
		</a>
        <!-- Unnamed (水平线) -->
        <div id="u81" class="ax_default line">
          <img id="u81_img" class="img " src="images/家长主页/u5.png"/>
        </div>
      </div>
    </div>
  </body>
</html>
